package cn.cttic.base.api.domain.bo;

import cn.cttic.base.api.domain.BaseFieldWorkProcessGroup;
import cn.cttic.common.mybatis.core.domain.BaseEntity;
import cn.cttic.common.core.validate.AddGroup;
import cn.cttic.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 外业规范业务对象 base_field_work_process_group
 *
 * @author Times.Studio
 * @date 2024-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BaseFieldWorkProcessGroup.class, reverseConvertGenerate = false)
public class BaseFieldWorkProcessGroupBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 外业工作名称
     */
    @NotBlank(message = "外业工作名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupName;

    /**
     * 外业工作编码
     */
    @NotBlank(message = "外业工作编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupCode;

    /**
     * 外业工作描述
     */
    @NotBlank(message = "外业工作描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String groupDescription;


}
